/*
 * Copyright (C) 2016 yixun All Rights Reserved.
 * 
 * SalesTargetServiceImpl.java
 */
package com.emm.yixun.basic.service.impl;

import com.emm.yixun.basic.mapper.DailySellReportMapper;
import com.emm.yixun.basic.service.DailySellReportService;
import com.emm.yixun.common.model.dailySellDto.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 日销售报表统计
 */
@Service("dailySellReportService")
public class DailySellReportServiceImpl implements DailySellReportService {

	@Autowired
	private DailySellReportMapper dailySellReportMapper;

	public List<SubscribeReportDto> getSubscribeReport(DailySellReportRequestDto reqDto) {
		return dailySellReportMapper.getSubscribeReport(reqDto);
	}

	public List<SignedReportDto> getSignedReport(DailySellReportRequestDto reqDto) {
		return dailySellReportMapper.getSignedReport(reqDto);
	}

	public List<ReceivedReportDto> getReceivedReport(DailySellReportRequestDto reqDto) {
		return dailySellReportMapper.getReceivedReport(reqDto);
	}

	public List<CallReportDto> getCallReport(DailySellReportRequestDto reqDto) {
		return dailySellReportMapper.getCallReport(reqDto);
	}

	public List<VisitReportDto> getVisitReport(DailySellReportRequestDto reqDto) {
		return dailySellReportMapper.getVisitReport(reqDto);
	}

	public List<OldVisitReportDto> getOldVisitReport(DailySellReportRequestDto reqDto) {
		return dailySellReportMapper.getOldVisitReport(reqDto);
	}
}
